/***********************************************
HAYESDUINO PROJECT - COPYRIGHT 2013, PAYTON BYRD

Project homepage: http://hayesduino.codeplex.com
License: http://hayesduino.codeplex.com/license
***********************************************/
#ifndef __GLOBAL_H
#define __GLOBAL_H

#define MAC_1	0
#define MAC_2	1
#define MAC_3	2
#define MAC_4	3
#define MAC_5	4
#define MAC_6	5

#define LOCAL_IP_1	6
#define LOCAL_IP_2	7
#define LOCAL_IP_3	8
#define LOCAL_IP_4	9

#define GATEWAY_IP_1	10
#define GATEWAY_IP_2	11
#define GATEWAY_IP_3	12
#define GATEWAY_IP_4	13

#define DNS_IP_1	14
#define DNS_IP_2	15
#define DNS_IP_3	16
#define DNS_IP_4	17

#define USE_DHCP	18

#define MODEM_INITIALIZED_STATE		254
#define MODEM_INITIALIZED_ADDRESS	19
#define E_MODE_ADDRESS	20
#define V_MODE_ADDRESS	21
#define Q_MODE_ADDRESS	22

#define S1_ADDRESS		23
#define S2_ADDRESS		24
#define S3_ADDRESS		25
#define S4_ADDRESS		26
#define S5_ADDRESS		27
#define S6_ADDRESS		28
#define	S7_ADDRESS		29
#define S8_ADDRESS		30
#define S9_ADDRESS		31
#define S10_ADDRESS		32
#define S11_ADDRESS		33
#define S12_ADDRESS		34
#define S18_ADDRESS		35
#define S25_ADDRESS		36
#define	S26_ADDRESS		37
#define S30_ADDRESS		38
#define S37_ADDRESS		39
#define S38_ADDRESS		40
#define S90_ADDRESS		41

#define ADDRESS_BOOK_START	42
#define ADDRESS_BOOK_LENGTH	30
#define	ADDRESS_BOOK_0		ADDRESS_BOOK_START + (ADDRESS_BOOK_LENGTH * 0)
#define	ADDRESS_BOOK_1		ADDRESS_BOOK_START + (ADDRESS_BOOK_LENGTH * 1)
#define	ADDRESS_BOOK_2		ADDRESS_BOOK_START + (ADDRESS_BOOK_LENGTH * 2)
#define	ADDRESS_BOOK_3		ADDRESS_BOOK_START + (ADDRESS_BOOK_LENGTH * 3)
#define	ADDRESS_BOOK_4		ADDRESS_BOOK_START + (ADDRESS_BOOK_LENGTH * 4)
#define	ADDRESS_BOOK_5		ADDRESS_BOOK_START + (ADDRESS_BOOK_LENGTH * 5)
#define	ADDRESS_BOOK_6		ADDRESS_BOOK_START + (ADDRESS_BOOK_LENGTH * 6)
#define	ADDRESS_BOOK_7		ADDRESS_BOOK_START + (ADDRESS_BOOK_LENGTH * 7)
#define	ADDRESS_BOOK_8		ADDRESS_BOOK_START + (ADDRESS_BOOK_LENGTH * 8)
#define	ADDRESS_BOOK_9		ADDRESS_BOOK_START + (ADDRESS_BOOK_LENGTH * 9)


#endif